import { getEditorProps, getGridEditorCommonProps } from './common';

/**
 * 获取数组编辑器的props
 *
 * @export
 * @template C
 * @return {*} 
 */
export function getArrayProps<C>() {
  return { ...getEditorProps<C>(), value: [Array<string>, Array<number>] };
}

/**
 * 获取表格数组编辑器的props
 *
 * @export
 * @template C
 * @return {*} 
 */
export function getGridArrayProps<C>() {
  return { ...getArrayProps<C>(), ...getGridEditorCommonProps() };
}
